<template>
  <div>
    <FileUpload v-model="files"></FileUpload>
  </div>
</template>

<script>
import FileUpload from "@/components/FileUpload/index.vue";
const files = ref([]);
</script>

<style scoped lang="scss">
@keyframes revolve {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
#taiji {
  animation-name: revolve;
  /* 持续时间 */
  animation-duration: 0.05s;
  animation-timing-function: linear;
  animation-iteration-count: 1;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  position: relative;
  border: 1px solid #ccc;
  background-image: linear-gradient(
    to right,
    #000 0%,
    #000 50%,
    #fff 50%,
    #fff 100%
  );
  &::after {
    display: block;
    content: "●";
    font-size: 50px;
    color: #000;
    text-align: center;
    line-height: 150px;
    width: 150px;
    border-radius: 50%;
    height: 150px;
    position: absolute;
    top: 0;
    left: 75px;
    background: #fff;
  }
  &::before {
    display: block;
    content: "●";
    font-size: 50px;
    color: #fff;
    text-align: center;
    line-height: 150px;
    width: 150px;
    border-radius: 50%;
    height: 150px;
    position: absolute;
    bottom: 0;
    left: 75px;
    background: #000;
  }
}
</style>
